package file;

import java.io.File;


public class FilesDemo {
    public static void main(String[] args) {
        File file = new File("./demo.txt");
        System.out.println(file.getName());
        System.out.println(file.getParent());
        System.out.println(file.exists());
        System.out.println(file.length());
        System.out.println(file.isHidden());
        System.out.println(file.canRead());

    }
}
